package net.maku.propagate.convert;

import net.maku.propagate.entity.PropagateWorkerEntity;
import net.maku.propagate.vo.PropagateWorkerVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 劳模风采
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-16
*/
@Mapper
public interface PropagateWorkerConvert {
    PropagateWorkerConvert INSTANCE = Mappers.getMapper(PropagateWorkerConvert.class);

    PropagateWorkerEntity convert(PropagateWorkerVO vo);

    PropagateWorkerVO convert(PropagateWorkerEntity entity);

    List<PropagateWorkerVO> convertList(List<PropagateWorkerEntity> list);

}